/**
 * Copyright 2011 Poltman.Ltd; www.poltman.com. All rights reserved.		
 *
 * This file is part of the dspace-poltman project http://www.poltman.com.
 *
 * This is free software; you can redistribute it and/or modify it under
 * the terms of DuraSpace DSpace license detailed in the LICENSE and NOTICE 
 * files at the root of the source tree and available online at
 * http://www.dspace.org/license/
 * 
 */

package com.poltman.dscentral.db.entity.pm;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


/**
 * 
 * @author Zbigniew Ciok; z.ciok@poltman.com
 * @version $Revision: 1677 $
 *
 */
@Entity
@Table(name="pm_languages")
public class LanguagesEntity implements Serializable {
	private static final long serialVersionUID = 1510201395758033344L;

	public LanguagesEntity() { }
	
    @Id
    @SequenceGenerator(name="pm_languages_seq", sequenceName="pm_languages_seq")
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="pm_languages_seq") 
    @Column(name="id")
    private Integer id;	
    
    @Column(name="code")
    private String code;
    
    @Column(name="name")
    private String name;
    
    @Column(name="implemented")
    private Boolean implemented;

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public Boolean getImplemented() {
		return implemented;
	}
	public void setImplemented(Boolean implemented) {
		this.implemented = implemented;
	}
}
